package org.eyeTopLight.exception;

import lombok.Data;

public enum ErrorCode {

    ERR_DB_SELECT("DB0001","数据库获取数据失败");

    String value;
    String desc;
    ErrorCode(String value,String desc){
        this.value = value;
        this.desc = desc;
    }

    public String getValue(){
        return value;
    };
    public String getDesc() {
        return desc;
    }

}
